#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include "Service.h"
#include "Private.h"
#include <unistd.h>
#include <fcntl.h>

/// <summary>
/// TODO
/// </summary>
int WaitForExit(pid_t pid)
{
	pid_t rc;
///	while ((rc = waitpid(pid, &st, 0)) != pid)
//		if (rc < 0 && errno == ECHILD)
//			return -1;
	return 0;
}
